// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import dataV from '@jiaminghi/data-view'
import stroe from './store/index'
import 'lib-flexible'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import request from '@/untils/request'
import conf from '@/configs/index'
import api from '@/api/index'

import FastClick from 'fastclick'

FastClick.attach(document.body)
Vue.use(ElementUI)

Vue.use(dataV)
Vue.config.productionTip = false
Vue.prototype.$api = api
Vue.prototype.$config = conf

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  stroe,
  components: { App },
  template: '<App/>'
})
